#coding:utf-8
import gensim

def wordVecToTxt(binPath,txtPath):
    model = gensim.models.KeyedVectors.load_word2vec_format(binPath,binary=True)
    model.save_word2vec_format(txtPath)



if __name__ == "__main__":
    path='./corpusWord2Vec.bin'
    outputFile='ch_text.txt'
    wordVecToTxt(path,outputFile)
